package cn.itcast.com.MyStackByArray;

import cn.itcast.com.MyQueueByLinkedlist.MyQueue;

import java.util.LinkedList;

/**
 * Created by 郭浩 on 2020/8/18 20:27
 */
public class test {
    public static void main(String[] args) {
        MyQueue<Object> objectMyQueue = new MyQueue<>();
        objectMyQueue.enqueue("1");
        objectMyQueue.enqueue("2");
        objectMyQueue.enqueue("3");
        System.out.println(objectMyQueue.dequeue());
        System.out.println(objectMyQueue.dequeue());
        System.out.println(objectMyQueue.dequeue());
    }
}
